<template>
	<vxe-input v-model="queryParams[config.fieldName]" :placeholder="`请输入${config.label}`" type="number" clearable></vxe-input>
</template>

<script>

export default {
  name: "vxeCodeNumberInput",
  props:{
	config: {
		type: Object,
		default: () => {}
	},
	queryParams: {
		type: Object,
		default: () => {}
	}
  },
  data() {
    return {
		value: '',
    };
  },
  computed: {
  },
  mounted() {
  },
  methods: {
  },
};
</script>

<style lang="scss" scoped>
	.editComponent ::v-deep .el-input--medium .el-input__inner {
		height: 32px;
		line-height: 32px;
	}
	.editComponent.required {
		position: relative;
	}
	.editComponent.required::after {
		content: "*";
		position: absolute;
		top: 0;
		left: -9px;
		color: red;
		line-height: 1.2
	}
</style>
